<?php require __DIR__ . '/../inc_header.tpl.php';?>

		
<span class="layui-breadcrumb">
	<a href="<?php echo url(['platform','platform','index']);?>">控制台</a>
	<a href="">配置</a>
	<a><cite>默认应用设置</cite></a>
</span>

<div class="layui-tab layui-tab-brief">
	<ul class="layui-tab-title">
		<li><a href="<?php echo url(['platform','config','app_default']);?>">默认应用入口</a></li>
		<li class="layui-this"><a href="<?php echo url(['platform','config','config']);?>">平台配置</a></li>
	</ul>
</div>
<br>

<form class="layui-form" action="<?php echo url(['platform','config','config']);?>" method="post" style="max-width: 800px;margin: 40px auto;">
	<div class="layui-form-item">
		<label class="layui-form-label" style="width: 100px;padding: 9px 0;">登录验证码：</label>
		<div class="layui-input-block">
            <input type="radio" name="login_captcha" value="启用" title="启用" <?php if($GLOBALS['config']['应用入口']['login_captcha']=='启用'){ echo 'checked';}elseif($GLOBALS['config']['应用入口']['login_captcha']!='禁用'){ echo 'checked';}?> >
            <input type="radio" name="login_captcha" value="禁用" title="禁用" <?php if($GLOBALS['config']['应用入口']['login_captcha']=='禁用'){ echo 'checked';}?> >
            <div style="color:#bbb">开启后，用户登录需要输入图形验证码</div>
		</div>
	</div>
	
	<div class="layui-form-item">
		<div class="layui-input-block">
			<button class="layui-btn" type="submit">&emsp;提交&emsp;</button>
		</div>
	</div>
</form>

<?php require __DIR__ . '/../inc_footer.tpl.php';?>